<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <link type="text/css" rel="stylesheet" href="../../resources/bootstrap/css/bootstrap.min.css"> 
	<link type="text/css" rel="stylesheet" href="../../resources/layui/css/layui.css"></link>
    <link type="text/css" rel="stylesheet" href="../../resources/jquery-easyui/themes/default/easyui.css" />
	<link type="text/css" rel="stylesheet" href="../../resources/jquery-easyui/themes/icon.css" />
    <link rel="stylesheet" href="../../comon/css/zTreeStyle/zTreeStyle.css" />
	<script type="text/javascript" src="../../comon/js/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="../../comon/js/jquery/jquery.ztree.core-3.1.js"></script>
  	<script type="text/javascript" src="../../comon/js/comon.main.js"></script>
	<script type="text/javascript" src="../../comon/jTree/tree.main.js"></script>
  	<script type="text/javascript" src="../../comon/StaticGrid/StaticGrid.js"></script>
  	<script type="text/javascript" src="../../resources/jquery-easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../../resources/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="../../resources/bootstrap/js/bootstrap.min.js"></script> 
	<script type="text/javascript" src="../../resources/layui/layui.js"></script>
	<script type="text/javascript" src="selectOrgDialog.js"></script>
    <script type="text/javascript">
		window.isWriteLog = false;
	</script>
  
  </head>
  
  <body style="overflow: hidden; cursor: normal;" class="easyui-layout" border="false">
		<div data-options="region:'west',title:'机构',split:true" style="width: 228px">
			<div style="width:100%; height:100%; overflow:hidden;">
				<ul id="JtreeDemo" class="ztree"></ul>
			</div>
		</div>
		<div data-options="region:'center',title:'选择列表'" style="overflow: hidden;">
			<table style="width:100%;height:100%; table-layout: fixed;">
			<tr>
				<td align="center" valign="middle" width="50px">
					<button id='dailogenginItem' type='button' title='确定' onclick="addselectData()"
					style='background: url(../../comon/image/csbar/d_5.gif); border:1px solid #A4DBF1; width: 40px; height:22px;' 
					onmouseover="this.style.background='url(../../comon/image/csbar/d_5_h.gif)';this.style.borderColor='#baceeb'"
					onMouseOut="this.style.background='url(../../comon/image/csbar/d_5.gif)';this.style.borderColor='#A4DBF1'">增&nbsp;加</button>
					<br/>
					<button id='dailogenginItem' type='button' title='确定' onclick="removeselectData()"
					style='background: url(../../comon/image/csbar/d_5.gif); border:1px solid #A4DBF1; width: 40px; height:22px; margin-top: 5px;' 
					onmouseover="this.style.background='url(../../comon/image/csbar/d_5_h.gif)';this.style.borderColor='#baceeb'"
					onMouseOut="this.style.background='url(../../comon/image/csbar/d_5.gif)';this.style.borderColor='#A4DBF1'">删&nbsp;除</button>
				</td>
				<td>
					<div id="main-grid-view"
						style="width: 100%; height: 100%; align: left;">
					</div>
				</td>
			</tr>
			</table>
		</div>
	<script type="text/javascript">
		var JtreeOrg = new Jtree();
		var staticGrid = new StaticGrid("main-grid-view"); //实例化类 
		$(document).ready(function(){
			JtreeOrg.init("JtreeDemo",setting,param);
	  		staticGrid.init("[{id:'sFName',name:'名称',width:360}]"); //初始化 
	  		staticGrid.setRowDbclick(removeselectData);
		});
	</script>
  </body>
</html>
